package com.lcj.workflow.feign;

import com.lcj.common.util.Result;
import com.lcj.workflow.controller.form.SendPrivateMessageForm;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("aoch-snm")
public interface SnmServiceApi {
    @PostMapping({"/message/sendPrivateMessageSync"})
    @Operation(summary = "异步发送私有消息")
    Result sendPrivateMessageSync(SendPrivateMessageForm paramSendPrivateMessageForm);

    @PostMapping({"/message/sendPrivateMessage"})
    @Operation(summary = "同步发送私有消息")
    Result sendPrivateMessage(SendPrivateMessageForm paramSendPrivateMessageForm);
}